SftTabs/NET 6.0

Insert Method, TabCollectionClass Class

Softel vdm, Inc.

Inserts a tab into the tab collection at the specified position.

Syntax      TabCollectionClass Class (Softelvdm.SftTabsNET)

VB   

Public Function Insert( ByVal index As Integer ) As TabClass

C#   

public TabClass Insert( int index );

C++   

public: TabClass^ Insert( int index );

index

The zero-based insertion point where the tab is inserted.

Return Value

The new tab inserted into the tab collection.

Comments

The Insert method inserts a tab into the tab collection at the specified position.

New tabs are inserted at the location defined by index. All other tabs (including the tab at location insert) are shifted by one position. If many tabs have to be added, the Initializing property can be used to indicate a mass-update, which is significantly faster.

Tabs can be added at the end using the Add method. Tabs can be deleted using the RemoveAt or Clear methods.

A maximum of 128 tabs can be added to a tab control.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com